import { Suspense } from 'react';
import { GlobalStyle } from './style';
import Routes from '@/routes'
import Footer from '@/components/Footer'

function App() {

  return (
    <div className="App">
      <GlobalStyle />
        <Suspense fallback={<div>loading...</div>}>
          <Routes />
        </Suspense>
      <Footer />
    </div>
  )
}

export default App
